Core
All basics API commands.
about
General information on TFTLabs server.
Example
TFTPDFGadget.callCommand({ name: 'about', callback: myfunc });
getCommandList ⇒ JSON
Gets the list of available commands.
Example
TFTPDFGadget.callCommand({ name: 'getCommandList', callback: myfunc });
Response
{"commands":[{"name":"about","arguments":[],"help":{"brief":"Get the about information"}},{"name":"activateCursorTool","arguments": [{"name":"tool","m":true,"type":"string","enum":["select","pan"]}],"help": {"brief":"Activate desired tool"}},{"name":"changeFindOption","arguments": [{"name":"name","m":true,"enum":["caseSensitive","entireWord","highlightAll"]}, {"name":"value","m":true,"enum":["true","false"]}],"help":{"brief":"Add or remove an option to the search result - caseSensitive - entireWord - highlightAll"}}, {"name":"deleteAnnotation","arguments": [{"name":"guid","m":true,"type":"number"}],"help":{"brief":"Delete annotation with his GUID. Set a GUID in parameter to delete a single annotation or multiannotation"}}}...